package com.example.mapper;


import com.example.entity.Video;

import java.util.List;

public interface VideoMapper {
    boolean add(Video video);

    List<Video> listByUser();

    List<Video> search(Video video);

    Video getById(Integer videoId);

    boolean update(Video result);

    List<Video> listAll();

    boolean delete(Video video);
}
